package t4j.example;

import t4j.TBlog;

public class Main {

    /**
     * @param args
     */
    public static void main(String[] args) throws Exception {
        System.setProperty("tblog4j.oauth.consumerKey", "p2dNCX7VDfdDwRRC");
        System.setProperty("tblog4j.oauth.consumerSecret", "lEXUZj4Vg5cOqXWlPIdQdqCLzXSDnCTu");

        TBlog blog = new TBlog();
        blog.setToken("88b636374661e9b6f52b24f0c7bb69a6", "c2dac85647fa48f56dcd33e9da02cc9f");
        String xml = null;/*blog.createBatchFavorite("a0a4640b-2b0a-4b0a-8819-084342c97cc3_1,7396bdb9-0b32-490b-99c5-57f46630e9b0_1,e1750496-c3d1-4986-8026-64d0c0cea559_1,22727dd8-0f72-495d-b94a-2634d3e2972c_1,52e693ad-ca9f-46d2-bc25-58d9c49551fb_1,9219e3e5-29c1-42a7-81bd-776adb1b6c8c_1,b9c1be5b-b4df-4b4d-9629-a747d5903239_1,f4abe3bf-29c5-4d77-8bc7-eb5a19c829f3_1,e1a247c2-5ede-4eaa-9eb6-c3b9ade03401_1,eccd2187-4e2e-455b-b4dd-9d8cb8671163_1,7097e5fa-087b-42e1-bb82-050cb116746a_1,fedaa93a-1efb-47ef-b37e-cf74ef92a5f0_1,30df21cc-79ab-4a46-8620-446da1a66865_1,32ad73ac-4d50-4199-a40f-dde0eaac10d5_1,684c073a-68a2-457d-b4d3-a03dba6ac02d_1,329c06c0-4f3e-4571-bd2d-f59da5d58468_1,706b1f77-7ba8-42e1-a1ef-a10458902055_1,8f21da56-dad2-4bcb-a447-bf62b29f0f03_1,c5a7c476-db77-42da-892f-41292d313455_1,a44bdf3f-ac74-471e-85fe-b41a1ca07285_1,0bd43011-4969-4826-bf8e-2724470970c0_1,eef1f86f-2a3b-4d15-9e6c-364422878455_1,f89487a1-6917-460a-a1a7-b355355dea22_1,14e051aa-343b-4d72-8034-33ad381d2fd9_1");
        System.out.println(xml);*/

        xml = blog.createFavorite("7bf93d5b-1d22-4035-b653-ff5a96b78e7f_1");
        System.out.println(xml);
    }

}
